package cn.fl.continfo.service;

import cmm.mid.core.framework.page.Pager;
import cn.cmm.base.framework.exception.BaseException;
import cn.fl.continfo.vo.PrjContCfgDtlVO;
import cn.fl.continfo.vo.PrjContCfgVO;
import cn.fl.preloan.condition.PrjContCfgDtlQueryCondition;
import cn.fl.preloan.condition.PrjContCfgQueryCondition;

import java.util.List;

public interface IPrjContCfgDtlService {



    /**
     * 批量新增
     * @param entitys
     * @return
     */
    public boolean addBatch(List<PrjContCfgDtlVO> entitys) throws BaseException;

    /**
     * 批量删除
     * @param ids
     * @return
     */
    public boolean removeBatchById(List<Long> ids)throws BaseException;
    
    /**
     * 查询所有
     * @param pageSize,pageNum,PrjContCfgQueryCondition
     * @return
     */
    public List<PrjContCfgDtlVO> searchList(PrjContCfgDtlQueryCondition condition)throws BaseException;


    /**
     * 分页查询所有
     * @param pageSize,pageNum,PrjContCfgQueryCondition
     * @return
     */
    public Pager searchListPage(int pageSize, int pageNum, PrjContCfgDtlQueryCondition condition)throws BaseException;

}
